class TagModel {
  int id;
  String tagName;
  String tagcolor;

  TagModel({this.id, this.tagName, this.tagcolor});

  TagModel.fromJson(Map<String, dynamic> json) {
    id = json['id'];
    tagName = json['tag_name'];
    tagcolor = json['tagcolor'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['id'] = this.id;
    data['tag_name'] = this.tagName;
    data['tagcolor'] = this.tagcolor;
    return data;
  }

  @override
  String toString() {
    return 'TagModel{id: $id, tagName: $tagName, tagcolor: $tagcolor}';
  }

}